package com.cloudream.core;

public class CoreArgi {
    public final static boolean LOCAL_DEV = false;//true: 本地测试

    public static String LOCAL_HTTP = "http://";
    public static String LOCAL_HOST = "47.93.227.38";
    public static String LOCAL_PORT = ":80";
    public static String LOCAL_APP_NAME = "/SpiderHome/";
    public static String LOCAL_HOST_URL = LOCAL_HTTP + LOCAL_HOST + LOCAL_PORT + LOCAL_APP_NAME;
    public static String LOCAL_FILE_PATH = "/usr/spider_home/";


    public static long BH_POLLING_SLEEP = 1;
    public static long BH_DOWNLOAD_SLEEP = 10;

    public static long ZA_POLLING_SLEEP = 1;
    public static long ZA_DOWNLOAD_SLEEP = 10;

    public static long JY_POLLING_SLEEP = 1;
    public static long JY_DOWNLOAD_SLEEP = 10;
    static{
        if(LOCAL_DEV){
            LOCAL_HOST = "127.0.0.1";
            LOCAL_PORT = ":8080";
            LOCAL_APP_NAME = "/";
            LOCAL_FILE_PATH = "E:/Photo/";
            LOCAL_HOST_URL = LOCAL_HTTP + LOCAL_HOST + LOCAL_PORT + LOCAL_APP_NAME;
        }
    }
}
